<template>
  <div>
    <!-- <download-excel
      class="hide-on-phone"
      :fields="fields"
      :data="exportExcelData"
      :type="type"
      :name="filename"
    >
      <button class="uni-button" type="primary" size="mini">导出</button>
    </download-excel> -->
  </div>
</template>

<script>
export default {
  props: {
    fields: {
      type: Object,
      required: true,
    },
    exportExcelData: {
      type: Array,
      required: true,
    },
    filename: {
      type: String,
      default: "export.xls",
    },
    type: {
      type: String,
      default: "xls",
    },
  },
  data() {
    return {};
  },
};
</script>

<style></style>
